package com.rogue.system;

import com.rogue.security.annotation.EnableCloudResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author YeahLiang
 * @Create 2022/03/17
 */
@SpringBootApplication
@EnableCloudResourceServer
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.rogue"})
@MapperScan("com.rogue.system.mapper")
public class SystemApplication {
     public static void main(String[] args){
         SpringApplication.run(SystemApplication.class,args);
     }

}
